#pragma once
#include "stdafx.h"
#include "PixelCalcBase.h"

class PixelCalc : public PixelCalcBase {
public:
	PixelCalc();
	~PixelCalc();

	void rasterOptimized(PixelStorage &pS);
	void contourArea(PixelStorage &pS);
	void arcLength(PixelStorage &pS);
	void huMoments(PixelStorage &pS);
	void calcTrueContours(PixelStorage &pS);

private:
	void minMaxHueOptimized(PixelStorage &pS, int i, int j);
};
